export const article={
    data(){
        return{
                  //新闻通报
              articleContent: [
  
         ],
        }   
    },
    created(){
        this.getArticle()
    },
    methods:{
        async getArticle(){
            let result =  await  this.request({
                 url:this.$api.getDictList,
                 data:{
                   str: "sthj_fl"
                 }
               })
    
              result=result.data.slice(this.minArticle,this.maxArticle)
             
         
               result.forEach((item)=>{
                    let o={}
                   o.dictLabel=item.dictLabel
                   o.dictValue=item.dictValue
                   this.articleContent.push(o)
               })
                console.log(result)
           },
    }

}